-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: finish pre-flight checkout, add pmps boilerplate #6
Conversation
//i_xOK := GVL_PMPS.fbFastFaultOutput2.q_xFastFaultOut); | ||
|
||
//Code for Removing arbitration | ||
GVL_PMPS.fbArbiter1.AddRequest(nReqID := 49, stReqBp := PMPS_GVL.cstFullBeam, sDevName := 'txi-kfe-optics'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noted the tiny things I saw when stepping through this
By and large looks normal and good and solid 👍
The most improvable thing is the lack of vetoes but I understand the specifics are still an ongoing discussion
@@ -1318,6 +1318,7 @@ External Setpoint Generation: | |||
<Axis Id="6" CreateSymbols="true" AxisType="1" AxisFolder="M2K3"> | |||
<Name>__FILENAME__</Name> | |||
<AxisPara> | |||
<General UnitName=""/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UnitName = empty string looks a little bit suspect
END_VAR | ||
]]></Declaration> | ||
<Implementation> | ||
<ST><![CDATA[PRG_2_PMPS_POST(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's non-standard that PMPS_POST is not the final program run, but I'm not sure how much it matters. Maybe this will delay faults from MR1K3 and MR2K3 until the next cycle?
Edit: I see now that the following programs don't do anything that may result in a fast fault, so probably no impact
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's notable that there are no vetoes here- perhaps this is related to the txi time crunch? Perhaps TXI optics have no veto conditions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeap, there are no pmps constraints in the program currently.
Description
Motivation and Context
Prepare TXI to take beam.
How Has This Been Tested?
Where Has This Been Documented?
https://jira.slac.stanford.edu/browse/ECS-5580
https://confluence.slac.stanford.edu/display/L2SI/MR1K3+Pre-Flight+Results+6-18-2024?src=jira
https://confluence.slac.stanford.edu/display/L2SI/MR2K3+Pre-Flight+Results+6-18-2024?src=jira
Screenshots (if appropriate):
Pre-merge checklist
Always Newest
pre-commit
(alternativelypre-commit run --all-files
)